package com.ys.entity.report;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_report].[dbo].TCO_BusinessDataStat", catalog="Id")
public class TcoBusinessDataStat extends BaseEntity<TcoBusinessDataStat> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="Vgsjc", nameJava="vgsjc", typeDataBase="varchar")
	private String vgsjc;
	@YsField(nameDataBase="CountMonth", nameJava="countMonth", typeDataBase="varchar")
	private String countMonth;
	@YsField(nameDataBase="LastMonth", nameJava="lastMonth", typeDataBase="varchar")
	private String lastMonth;
	@YsField(nameDataBase="CountYear", nameJava="countYear", typeDataBase="varchar")
	private String countYear;
	@YsField(nameDataBase="OrderNum", nameJava="orderNum", typeDataBase="int")
	private Integer orderNum;
	@YsField(nameDataBase="SaleAmount", nameJava="saleAmount", typeDataBase="decimal")
	private BigDecimal saleAmount;
	@YsField(nameDataBase="OrderNumByDay", nameJava="orderNumByDay", typeDataBase="decimal")
	private BigDecimal orderNumByDay;
	@YsField(nameDataBase="PurchaseCostAmount", nameJava="purchaseCostAmount", typeDataBase="decimal")
	private BigDecimal purchaseCostAmount;
	@YsField(nameDataBase="StorageCostAmount", nameJava="storageCostAmount", typeDataBase="decimal")
	private BigDecimal storageCostAmount;
	@YsField(nameDataBase="TransportCostAmount", nameJava="transportCostAmount", typeDataBase="decimal")
	private BigDecimal transportCostAmount;
	@YsField(nameDataBase="BusinessCostAmount", nameJava="businessCostAmount", typeDataBase="decimal")
	private BigDecimal businessCostAmount;
	@YsField(nameDataBase="ShopBackAmount", nameJava="shopBackAmount", typeDataBase="decimal")
	private BigDecimal shopBackAmount;
	@YsField(nameDataBase="ErpSurplusAmount", nameJava="erpSurplusAmount", typeDataBase="decimal")
	private BigDecimal erpSurplusAmount;
	@YsField(nameDataBase="AwsSurplusAmount", nameJava="awsSurplusAmount", typeDataBase="decimal")
	private BigDecimal awsSurplusAmount;
	@YsField(nameDataBase="StockNum", nameJava="stockNum", typeDataBase="int")
	private Integer stockNum;
	@YsField(nameDataBase="StockProductNum", nameJava="stockProductNum", typeDataBase="decimal")
	private BigDecimal stockProductNum;
	@YsField(nameDataBase="EstimateAmount", nameJava="estimateAmount", typeDataBase="decimal")
	private BigDecimal estimateAmount;
	@YsField(nameDataBase="YearOrderNum", nameJava="yearOrderNum", typeDataBase="int")
	private Integer yearOrderNum;
	@YsField(nameDataBase="YearSaleAmount", nameJava="yearSaleAmount", typeDataBase="decimal")
	private BigDecimal yearSaleAmount;
	@YsField(nameDataBase="YearOrderNumByDay", nameJava="yearOrderNumByDay", typeDataBase="decimal")
	private BigDecimal yearOrderNumByDay;
	@YsField(nameDataBase="YearPurchaseCostAmount", nameJava="yearPurchaseCostAmount", typeDataBase="decimal")
	private BigDecimal yearPurchaseCostAmount;
	@YsField(nameDataBase="YearStorageCostAmount", nameJava="yearStorageCostAmount", typeDataBase="decimal")
	private BigDecimal yearStorageCostAmount;
	@YsField(nameDataBase="YearTransportCostAmount", nameJava="yearTransportCostAmount", typeDataBase="decimal")
	private BigDecimal yearTransportCostAmount;
	@YsField(nameDataBase="YearBusinessCostAmount", nameJava="yearBusinessCostAmount", typeDataBase="decimal")
	private BigDecimal yearBusinessCostAmount;
	@YsField(nameDataBase="YearShopBackAmount", nameJava="yearShopBackAmount", typeDataBase="decimal")
	private BigDecimal yearShopBackAmount;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcoBusinessDataStat setId(Long id) {
		this.id = id;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public TcoBusinessDataStat setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public String getVgsjc() {
		return vgsjc;
	}
	public TcoBusinessDataStat setVgsjc(String vgsjc) {
		this.vgsjc = vgsjc;
		return this;
	}
	public String getCountMonth() {
		return countMonth;
	}
	public TcoBusinessDataStat setCountMonth(String countMonth) {
		this.countMonth = countMonth;
		return this;
	}
	public String getLastMonth() {
		return lastMonth;
	}
	public TcoBusinessDataStat setLastMonth(String lastMonth) {
		this.lastMonth = lastMonth;
		return this;
	}
	public String getCountYear() {
		return countYear;
	}
	public TcoBusinessDataStat setCountYear(String countYear) {
		this.countYear = countYear;
		return this;
	}
	public Integer getOrderNum() {
		return orderNum;
	}
	public TcoBusinessDataStat setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
		return this;
	}
	public BigDecimal getSaleAmount() {
		return saleAmount;
	}
	public TcoBusinessDataStat setSaleAmount(BigDecimal saleAmount) {
		this.saleAmount = saleAmount;
		return this;
	}
	public BigDecimal getOrderNumByDay() {
		return orderNumByDay;
	}
	public TcoBusinessDataStat setOrderNumByDay(BigDecimal orderNumByDay) {
		this.orderNumByDay = orderNumByDay;
		return this;
	}
	public BigDecimal getPurchaseCostAmount() {
		return purchaseCostAmount;
	}
	public TcoBusinessDataStat setPurchaseCostAmount(BigDecimal purchaseCostAmount) {
		this.purchaseCostAmount = purchaseCostAmount;
		return this;
	}
	public BigDecimal getStorageCostAmount() {
		return storageCostAmount;
	}
	public TcoBusinessDataStat setStorageCostAmount(BigDecimal storageCostAmount) {
		this.storageCostAmount = storageCostAmount;
		return this;
	}
	public BigDecimal getTransportCostAmount() {
		return transportCostAmount;
	}
	public TcoBusinessDataStat setTransportCostAmount(BigDecimal transportCostAmount) {
		this.transportCostAmount = transportCostAmount;
		return this;
	}
	public BigDecimal getBusinessCostAmount() {
		return businessCostAmount;
	}
	public TcoBusinessDataStat setBusinessCostAmount(BigDecimal businessCostAmount) {
		this.businessCostAmount = businessCostAmount;
		return this;
	}
	public BigDecimal getShopBackAmount() {
		return shopBackAmount;
	}
	public TcoBusinessDataStat setShopBackAmount(BigDecimal shopBackAmount) {
		this.shopBackAmount = shopBackAmount;
		return this;
	}
	public BigDecimal getErpSurplusAmount() {
		return erpSurplusAmount;
	}
	public TcoBusinessDataStat setErpSurplusAmount(BigDecimal erpSurplusAmount) {
		this.erpSurplusAmount = erpSurplusAmount;
		return this;
	}
	public BigDecimal getAwsSurplusAmount() {
		return awsSurplusAmount;
	}
	public TcoBusinessDataStat setAwsSurplusAmount(BigDecimal awsSurplusAmount) {
		this.awsSurplusAmount = awsSurplusAmount;
		return this;
	}
	public Integer getStockNum() {
		return stockNum;
	}
	public TcoBusinessDataStat setStockNum(Integer stockNum) {
		this.stockNum = stockNum;
		return this;
	}
	public BigDecimal getStockProductNum() {
		return stockProductNum;
	}
	public TcoBusinessDataStat setStockProductNum(BigDecimal stockProductNum) {
		this.stockProductNum = stockProductNum;
		return this;
	}
	public BigDecimal getEstimateAmount() {
		return estimateAmount;
	}
	public TcoBusinessDataStat setEstimateAmount(BigDecimal estimateAmount) {
		this.estimateAmount = estimateAmount;
		return this;
	}
	public Integer getYearOrderNum() {
		return yearOrderNum;
	}
	public TcoBusinessDataStat setYearOrderNum(Integer yearOrderNum) {
		this.yearOrderNum = yearOrderNum;
		return this;
	}
	public BigDecimal getYearSaleAmount() {
		return yearSaleAmount;
	}
	public TcoBusinessDataStat setYearSaleAmount(BigDecimal yearSaleAmount) {
		this.yearSaleAmount = yearSaleAmount;
		return this;
	}
	public BigDecimal getYearOrderNumByDay() {
		return yearOrderNumByDay;
	}
	public TcoBusinessDataStat setYearOrderNumByDay(BigDecimal yearOrderNumByDay) {
		this.yearOrderNumByDay = yearOrderNumByDay;
		return this;
	}
	public BigDecimal getYearPurchaseCostAmount() {
		return yearPurchaseCostAmount;
	}
	public TcoBusinessDataStat setYearPurchaseCostAmount(BigDecimal yearPurchaseCostAmount) {
		this.yearPurchaseCostAmount = yearPurchaseCostAmount;
		return this;
	}
	public BigDecimal getYearStorageCostAmount() {
		return yearStorageCostAmount;
	}
	public TcoBusinessDataStat setYearStorageCostAmount(BigDecimal yearStorageCostAmount) {
		this.yearStorageCostAmount = yearStorageCostAmount;
		return this;
	}
	public BigDecimal getYearTransportCostAmount() {
		return yearTransportCostAmount;
	}
	public TcoBusinessDataStat setYearTransportCostAmount(BigDecimal yearTransportCostAmount) {
		this.yearTransportCostAmount = yearTransportCostAmount;
		return this;
	}
	public BigDecimal getYearBusinessCostAmount() {
		return yearBusinessCostAmount;
	}
	public TcoBusinessDataStat setYearBusinessCostAmount(BigDecimal yearBusinessCostAmount) {
		this.yearBusinessCostAmount = yearBusinessCostAmount;
		return this;
	}
	public BigDecimal getYearShopBackAmount() {
		return yearShopBackAmount;
	}
	public TcoBusinessDataStat setYearShopBackAmount(BigDecimal yearShopBackAmount) {
		this.yearShopBackAmount = yearShopBackAmount;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcoBusinessDataStat setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcoBusinessDataStat setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcoBusinessDataStat setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcoBusinessDataStat tcoBusinessDataStat(
		String vgsbm,
		String vgsjc,
		String countMonth,
		String lastMonth,
		String countYear,
		Integer orderNum,
		BigDecimal saleAmount,
		BigDecimal orderNumByDay,
		BigDecimal purchaseCostAmount,
		BigDecimal storageCostAmount,
		BigDecimal transportCostAmount,
		BigDecimal businessCostAmount,
		BigDecimal shopBackAmount,
		BigDecimal erpSurplusAmount,
		BigDecimal awsSurplusAmount,
		Integer stockNum,
		BigDecimal stockProductNum,
		BigDecimal estimateAmount,
		Integer yearOrderNum,
		BigDecimal yearSaleAmount,
		BigDecimal yearOrderNumByDay,
		BigDecimal yearPurchaseCostAmount,
		BigDecimal yearStorageCostAmount,
		BigDecimal yearTransportCostAmount,
		BigDecimal yearBusinessCostAmount,
		BigDecimal yearShopBackAmount,
		Integer status
			) {
		TcoBusinessDataStat entity = new TcoBusinessDataStat();
		entity.setVgsbm(vgsbm);
		entity.setVgsjc(vgsjc);
		entity.setCountMonth(countMonth);
		entity.setLastMonth(lastMonth);
		entity.setCountYear(countYear);
		entity.setOrderNum(orderNum);
		entity.setSaleAmount(saleAmount);
		entity.setOrderNumByDay(orderNumByDay);
		entity.setPurchaseCostAmount(purchaseCostAmount);
		entity.setStorageCostAmount(storageCostAmount);
		entity.setTransportCostAmount(transportCostAmount);
		entity.setBusinessCostAmount(businessCostAmount);
		entity.setShopBackAmount(shopBackAmount);
		entity.setErpSurplusAmount(erpSurplusAmount);
		entity.setAwsSurplusAmount(awsSurplusAmount);
		entity.setStockNum(stockNum);
		entity.setStockProductNum(stockProductNum);
		entity.setEstimateAmount(estimateAmount);
		entity.setYearOrderNum(yearOrderNum);
		entity.setYearSaleAmount(yearSaleAmount);
		entity.setYearOrderNumByDay(yearOrderNumByDay);
		entity.setYearPurchaseCostAmount(yearPurchaseCostAmount);
		entity.setYearStorageCostAmount(yearStorageCostAmount);
		entity.setYearTransportCostAmount(yearTransportCostAmount);
		entity.setYearBusinessCostAmount(yearBusinessCostAmount);
		entity.setYearShopBackAmount(yearShopBackAmount);
		entity.setStatus(status);
		return entity;
	}
}